<!doctype html>
<html style="background:rgba(0,0,0,0);">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="format-detection" content="telephone=no" />
    <meta name="format-detection" content="email=no" />
    <meta name="format-detection" content="address=no" />
    <meta name="format-detection" content="date=no" />
    <title>协议</title>
    <link href="../../css/api.css" rel="stylesheet" type="text/css">
    <link href="../../css/aui.css" rel="stylesheet" type="text/css">
    <link href="../../css/index.css" rel="stylesheet" type="text/css">
    <style>
        html,
        body {
            width: 100%;
            height: 100%;
        }

        .agreement_detail {
            padding: 0.8rem 0.75rem;
            font-size: 0.75rem;
            color: rgba(76, 76, 77, 1);
            line-height: 1.05rem;
        }
    </style>
</head>

<body>
    <div class="vueApp" v-cloak>
        <div class="agreement_detail" id="agreement_detail" v-html="agreementInfo">
            
        </div>
    </div>
</body>
<script type="text/javascript" src="../../script/api.js"></script>
<script type="text/javascript" src="../../script/vue.min.js"></script>
<script type="text/javascript" src="../../script/service/service-app.js"></script>
<script type="text/javascript" src="../../script/service/service-tool.js"></script>
<script type="text/javascript" src="../../script/service/service-font.js"></script>
<script type="text/javascript" src="../../script/service/service-user.js"></script>
<script type="text/javascript" src="../../script/service/service-login.js"></script>
<script type="text/javascript" src="../../script/service/service-verify.js"></script>
<script>
    var $S;
    var USER;
    apiready = function() {
        $S = SERVICE();
        USER = USER();
        fnInit();

        fnInitPage();
    }

    function fnInit() {
        vm = new Vue({
            el: ".vueApp",
            data: {
                textType: api.pageParam.textType,
                agreementInfo: "",
            }
        })
    }

    function fnInitPage() {
        $S.ShowProgress();
        var postData = {
            "businessType": "1" //1协议2联系我们
        }
        $S.POST("newAddInterface/getPlatformAgreementDetail", postData, function(ret, err) {
            if (ret && ret.status == '200') {
                vm.agreementInfo = ret.data.agreementContext;
                fnAdaptationContent("agreement_detail")
            }
            $S.CloseProgress();
        })  
    }
</script>


</html>
